package com.micro.frog.fortune.model.base;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * @author jason.lv
 * @since 2022/1/6 16:38
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "列表响应")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ListResp<T> extends Resp {

  @ApiModelProperty(value = "对象数据")
  @JsonProperty("data")
  private List<T> data;
}
